home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / lib / pm-utils / sleep.d / 96laptop-mode < prev    next >
Text File  |  2008-10-24  |  341b  |  17 lines

  1. #!/bin/sh
  2.  
  3. case "$1" in
  4.     thaw|resume)
  5.     LAPTOP_MODE=/usr/sbin/laptop_mode
  6.     if [ -x $LAPTOP_MODE ]; then
  7.         [ -f /etc/default/laptop-mode ] && . /etc/default/laptop-mode
  8.         [ -f /etc/default/acpi-support ] && . /etc/default/acpi-support
  9.         if [ x$ENABLE_LAPTOP_MODE = xtrue ]; then
  10.         $LAPTOP_MODE auto
  11.         fi
  12.     fi
  13.     ;;
  14.     *)
  15.     ;;
  16. esac
  17.